from .link import link
from .robject import robject

class linkCollection(robject):
	def __init__(self, json):
		robject.__init__(self, json)
		self.data = [link(item) for item in json["data"]["children"]]
		self.modhash = json["data"]["modhash"]
		self.after = json["data"]["after"]
		self.before = json["data"]["before"]